// 个人/团体中心
const myCenter = [
  // 设置
  {
    path: 'setting',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/setting/index')
  },
  // 个人信息
  {
    path: 'individual',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/individual/index')
  },
  // 个人信息 - 基础信息
  {
    path: 'individual/info',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/individual/baseInfo')
  },
  // 个人信息 - 所属机构/团体
  {
    path: 'individual/affiliatedOrgan',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/individual/affiliatedOrgan')
  },
  // 个人信息 - 会员信息
  {
    path: 'individual/vipInfo',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/individual/vipInfo')
  },
  // 个人信息 - 中国跆拳道级段位信息
  {
    path: 'individual/CTRInfo',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/individual/CTRInfo')
  },
  // 个人信息 - 国际跆拳道级段位信息
  {
    path: 'individual/ITRInfo',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/individual/ITRInfo')
  },
  // 团体信息
  {
    path: 'team',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/team/index')
  },
  // 团体信息 - 基础信息
  {
    path: 'team/info',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/team/baseInfo')
  },
  // 团体信息 - 团体会员
  {
    path: 'team/member',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/team/member')
  },
  // 消息中心
  {
    path: 'notice',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/noticeCenter/main'),
    children: [
      {
        path: '',
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/noticeCenter/index')
      },
      {
        path: 'detail',
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/noticeCenter/detail')
      }
    ]
  },
  // 认证中心
  {
    path: 'authentication',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/authentication/index')
  },
  // 报名中心
  {
    path: 'entry',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/entryCenter/index'),
    children: [
      {
        path: '', // 列表
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/entryCenter/main')
      },
      {
        path: 'detail', // 详情
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/entryCenter/detail')
      },
      {
        path: 'upload', // 上传
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/entryCenter/uploadData')
      }
    ]
  },
  // 审核中心
  {
    path: 'approve',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/approveCenter/index')
  },
  // 订单中心
  {
    path: 'order',
    component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/orderCenter/main'),
    children: [
      {
        path: '', // 订单列表
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/orderCenter/index')
      },
      {
        path: 'detail', // 订单详情
        component: () => import(/* webpackChunkName: "common" */ '@/viewMobile/myCenter/orderCenter/detail')
      }
    ]
  }
];

export default myCenter;
